<?xml version="1.0"?>
<actions>

    <action name="attack" category="melee" target="1">
        <description>Attack an enemy.</description>
        <elemental fire="0" ice="0" water="0" thunder="0" restorative="0"/>
        <power factor="1.0" hit="0.9" type="physical"/>
        <status effect="none" hit="0"/>
        <cost mp="0"/>
        <animation type="attack" sound="sounds/sword.ogg"/>
    </action>
    <action name="swing" category="melee" target="1">
        <description>A more powerful attack.</description>
        <elemental fire="0" ice="0" water="0" thunder="0" restorative="0"/>
        <power factor="1.5" hit="0.8" type="physical"/>
        <status effect="none" hit="0"/>
        <cost mp="4"/>
        <animation type="attack" sound="sounds/sword.ogg"/>
    </action>
    <action name="thunderstab" category="melee" target="1">
        <description>Attack an enemy with the power of thunder.</description>
        <elemental fire="0" ice="0" water="0" thunder="1" restorative="0"/>
        <power factor="1.1" hit="0.8" type="physical"/>
        <status effect="none" hit="0"/>
        <cost mp="4"/>
        <animation type="attack" sprite="images/animations/thunder.png" sound="sounds/sword-thunder2.ogg"/>
    </action>
    <action name="bite" category="melee" target="1">
        <description>Painful but misses a lot.</description>
        <elemental fire="0" ice="0" water="0" thunder="0" restorative="0"/>
        <power factor="2.0" hit="0.5" type="physical"/>
        <status effect="none" hit="0"/>
        <cost mp="4"/>
        <animation type="attack" sound="sounds/sword.ogg"/>
    </action>
    <action name="fist" category="melee" target="1">
        <description>Very effective, causes paralysis.</description>
        <elemental fire="0" ice="0" water="0" thunder="0" restorative="0"/>
        <power factor="2.0" hit="0.5" type="physical"/>
        <status effect="paralysed" hit="0.3"/>
        <cost mp="4"/>
        <animation type="attack" sound="sounds/impact.ogg"/>
    </action>
    <action name="strike" category="melee" target="1">
        <description>Strong attack that might injure enemies.</description>
        <elemental fire="0" ice="0" water="0" thunder="0" restorative="0"/>
        <power factor="1.5" hit="0.7" type="physical"/>
        <status effect="injured" hit="0.4"/>
        <cost mp="6"/>
        <animation type="attack" sound="sounds/sword-swosh.ogg"/>
    </action>
    <action name="flametongue" category="melee" target="1">
        <description>Strong fire-based melee attack.</description>
        <elemental fire="1" ice="0" water="0" thunder="0" restorative="0"/>
        <power factor="2.5" hit="0.7" type="physical"/>
        <status effect="none" hit="0"/>
        <cost mp="8"/>
        <animation type="attack" sprite="images/animations/fire.png" sound="sounds/sword-fire.ogg"/>
    </action>


    <action name="cure" category="white magic" target="1">
        <description>Heal an ally.</description>
        <elemental fire="0" ice="0" water="0" thunder="0" restorative="1"/>
        <power factor="0.66" hit="1.0" type="magical"/>
        <status effect="none" hit="0"/>
        <cost mp="4"/>
        <animation type="sprite" sprite="images/animations/cure.png" sound="sounds/cure.ogg"/>
    </action>
    <action name="cura" category="white magic" target="1">
        <description>Heal an ally properly.</description>
        <elemental fire="0" ice="0" water="0" thunder="0" restorative="1"/>
        <power factor="1.3" hit="1.0" type="magical"/>
        <status effect="none" hit="0"/>
        <cost mp="8"/>
        <animation type="sprite" sprite="images/animations/cura.png" sound="sounds/cura.ogg"/>
    </action>
    <action name="esuna" category="white magic" target="1">
        <description>Remove a status effect from an ally.</description>
        <cost mp="6" sound="sounds/cure.ogg"/>
    </action>
    

    <action name="fog" category="black magic" target="1">
        <description>Create a dense fog that might blind enemies.</description>
        <elemental fire="0" ice="0" water="0" thunder="0" restorative="0"/>
        <power factor="0.2" hit="1.0" type="magical"/>
        <status effect="blinded" hit="0.7"/>
        <cost mp="4"/>
        <animation type="sprite" sprite="images/animations/fog.png" sound="sounds/whoosh.ogg"/>
    </action>
    <action name="fire" category="black magic" target="1">
        <description>Use a flame attack on an enemy.</description>
        <elemental fire="1" ice="0" water="0" thunder="0" restorative="0"/>
        <power factor="0.3" hit="1.0" type="magical"/>
        <status effect="none" hit="0"/>
        <cost mp="6"/>
        <animation type="sprite" sprite="images/animations/fire.png" sound="sounds/fire.ogg"/>
    </action>
    <action name="ice" category="black magic" target="1">
        <description>Use an ice attack on an enemy.</description>
        <elemental fire="0" ice="1" water="0" thunder="0" restorative="0"/>
        <power factor="0.3" hit="1.0" type="magical"/>
        <status effect="none" hit="0"/>
        <cost mp="6"/>
        <animation type="sprite" sprite="images/animations/ice.png" sound="sounds/ice.ogg"/>
    </action>
    <action name="water" category="black magic" target="1">
        <description>Use a flood attack on an enemy.</description>
        <elemental fire="0" ice="0" water="1" thunder="0" restorative="0"/>
        <power factor="0.3" hit="1.0" type="magical"/>
        <status effect="none" hit="0"/>
        <cost mp="6"/>
        <animation type="sprite" sprite="images/animations/water.png" sound="sounds/water.ogg"/>
    </action>
    <action name="thunder" category="black magic" target="1">
        <description>Use a thunder on an enemy.</description>
        <elemental fire="0" ice="0" water="0" thunder="1" restorative="0"/>
        <power factor="0.3" hit="1.0" type="magical"/>
        <status effect="none" hit="0"/>
        <cost mp="6"/>
        <animation type="sprite" sprite="images/animations/thunder.png" sound="sounds/thunder.ogg"/>
    </action>
    <action name="slime" category="black magic" target="1">
        <description>Spit slime over enemy to slow them down.</description>
        <elemental fire="0" ice="0" water="0" thunder="0" restorative="0"/>
        <power factor="0.3" hit="1.0" type="magical"/>
        <status effect="slowed" hit="0.7"/>
        <cost mp="4"/>
        <animation type="sprite" sprite="images/animations/slime.png"/>
    </action>
    <action name="fira" category="black magic" target="1">
        <description>Use a powerful flame attack on an enemy.</description>
        <elemental fire="1" ice="0" water="0" thunder="0" restorative="0"/>
        <power factor="1.0" hit="1.0" type="magical"/>
        <status effect="none" hit="0"/>
        <cost mp="12"/>
        <animation type="sprite" sprite="images/animations/fira.png" sound="sounds/fira.ogg"/>
    </action>
    <action name="blizzara" category="black magic" target="1">
        <description>Use a powerul ice attack on an enemy.</description>
        <elemental fire="0" ice="1" water="0" thunder="0" restorative="0"/>
        <power factor="1.0" hit="1.0" type="magical"/>
        <status effect="none" hit="0"/>
        <cost mp="12"/>
        <animation type="sprite" sprite="images/animations/blizzara.png" sound="sounds/ice.ogg"/>
    </action>
    <action name="watera" category="black magic" target="1">
        <description>Use a powerul flood attack on an enemy.</description>
        <elemental fire="0" ice="0" water="1" thunder="0" restorative="0"/>
        <power factor="1.0" hit="1.0" type="magical"/>
        <status effect="none" hit="0"/>
        <cost mp="12"/>
        <animation type="sprite" sprite="images/animations/watera.png" sound="sounds/water.ogg"/>
    </action>
    <action name="thundara" category="black magic" target="1">
        <description>Use a thunder on an enemy.</description>
        <elemental fire="0" ice="0" water="0" thunder="1" restorative="0"/>
        <power factor="1.0" hit="1.0" type="magical"/>
        <status effect="none" hit="0"/>
        <cost mp="12"/>
        <animation type="sprite" sprite="images/animations/thundara.png" sound="sounds/thunder.ogg"/>
    </action>
 
    <action name="steal" category="top" target="1">
        <description>Try to take an item from an enemy.</description>
        <cost mp="0"/>
    </action>
    <action name="row" category="top" target="0">
        <description>Switch back/front row.</description>
        <cost mp="0"/>
    </action>
    <action name="wait" category="top" target="0">
        <description>Wait half a turn.</description>
        <cost mp="0"/>
    </action>
    <action name="flee" category="top" target="0">
        <description>Run away from battle.</description>
        <cost mp="0"/>
    </action>

</actions>

